s390x-opt
authorOpenJDK Team <openjdk-21@packages.debian.org>
Mon, 5 Jan 2026 04:35:14 +0000 (17:35 +1300)
committerVladimir Petko <vladimir.petko@canonical.com>
Mon, 5 Jan 2026 04:35:14 +0000 (17:35 +1300)
Gbp-Pq: Name s390x-opt.diff

make/autoconf/flags-cflags.m4

index ab8c48e16d4f3cf74fe3697aa2863233d83e1c10..23e7ab1da02c5d93a6cb7eaed4cec6ceca376407 100644 (file)
@@ -821,6 +821,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
       fi
     elif test "x$FLAGS_CPU" = xs390x; then
       $1_CFLAGS_CPU="-mbackchain -march=z10"
+      if test "x$VENDOR_FLAGS_CPU" != x; then
+        $1_CFLAGS_CPU="-mbackchain $VENDOR_FLAGS_CPU"
+      fi
     fi
 
     if test "x$FLAGS_CPU_ARCH" != xarm &&  test "x$FLAGS_CPU_ARCH" != xppc; then